﻿using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.Extensions.DependencyInjection;

namespace ZYing.LiquidThemeEngine.AspNetCore
{
    public static class LiquidThemeEngineServiceCollectionExtensions
    {
        public static IServiceCollection AddLiquidThemeViewResult(this IServiceCollection services)
        {
            return services.AddSingleton<IActionResultExecutor<LiquidThemeViewResult>, LiquidThemeViewResultExecutor>();
        }
    }
}